package com.ellwood.common.core.utils.excel;

import com.alibaba.excel.metadata.Cell;
import org.apache.poi.ss.usermodel.Workbook;

/**
 * @ProjectName: Ellwood-framework-boot
 * @PackageName: com.ellwood.common.core.exception.excel
 * @ClassName: ExcelHandlerAdapter
 * @Description: // Excel数据格式处理适配器
 * @Author: Ellwood
 * @CreateDate: 2024/7/13 - 下午2:37
 * @Version: V1.0.0
 */
public interface ExcelHandlerAdapter {

    /**
     * 获取Excel数据格式处理适配器
     *
     * @param value 单元格数据值
     * @param args  excel注解啊如果是参数组
     * @return 处理 后的值
     */
    Object format(Object value, String[] args, Cell cell, Workbook wb);

}
